mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 07:18:42 +00:00
Simplify
tested that things still work as intended
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
class SpecialCoinSpawner : public CppScripts::Script {
|
||||
public:
|
||||
SpecialCoinSpawner(uint32_t CurrencyDenomination) {
|
||||
m_currencyDenomination = CurrencyDenomination;
|
||||
m_CurrencyDenomination = CurrencyDenomination;
|
||||
};
|
||||
void OnStartup(Entity* self) override;
|
||||
void OnProximityUpdate(Entity* self, Entity* entering, const std::string name, const std::string status) override;
|
||||
private:
|
||||
int32_t m_currencyDenomination = 0;
|
||||
int32_t m_CurrencyDenomination = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user