mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
playing selection SFX and rendering unit stats only when selecting own units
This commit is contained in:
@@ -55,7 +55,6 @@ namespace battleship{
|
||||
|
||||
SOL_LUA_STATE.new_usertype<Unit>(
|
||||
"Unit", sol::constructors<Unit(Player*, int, Vector3, Quaternion)>(),
|
||||
"toggleSelection", &Unit::toggleSelection,
|
||||
"getUnitClass", &Unit::getUnitClass,
|
||||
"toEngineer", &Unit::toEngineer,
|
||||
"toPointDefense", &Unit::toPointDefense,
|
||||
|
||||
Reference in New Issue
Block a user